
 //点赞，收藏接口
import {http} from '@/utils/httpRequest'


// 点赞帖子，一级评论，二级评论
export const postLike = (data) => {
	let url = '/wx/v1/like/add';  
    return http({
        method: 'POST',
        url: url,
		data
    })
}

// 收藏帖子
export const postFavor = (data) => {
	let url = '/wx/v1/post/favorite';  
    return http({
        method: 'POST',
        url: url,
		data
    })
}

